package com.weipai.education.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
@Accessors(chain = true)
public class Activity {
    private Integer id;
    
    private Integer userId;

    @NotBlank(message = "申请人手机号不能为空")
    private String mobile;

    @NotBlank(message = "活动主题不能为空")
    private String theme;

    @NotBlank(message = "申请人省份不能为空")
    private String province;

    @NotBlank(message = "申请人所在城市不能为空")
    private String city;

    @NotBlank(message = "申请人所在区/县不能为空")
    private String country;

    @NotBlank(message = "申请人详细地址不能为空")
    private String address;

    private Date startTime;

    private Integer auditorId;

    private Date createTime;

    private Date updateTime;

    private Integer isAudit;

    @NotNull(message = "活动的类别不能为空")
    private Integer activityCateId;

   // private String remark;
    
}